package com.lxinet.jeesns.modules.wechat.dao;

import com.lxinet.jeesns.modules.wechat.entity.WechatReplyConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lzs on 2017/5/3.
 */
public interface IWechatReplyConfigDao {

    WechatReplyConfig findByWXuin(@Param("wxuin") String wxuin);

    void changeFlag(@Param("id") Integer id,@Param("flag") Integer flag);

    int save(WechatReplyConfig wechatReplyConfig);

    List<WechatReplyConfig> getAll();

    WechatReplyConfig findById(@Param("id") Integer id);

    int update(WechatReplyConfig wechatReplyConfig);

    int delete(@Param("id") Integer id);

}
